/**
 * @program: pettyloan
 * @ClassName RepayRecordVO 后台传给合同每期还款信息界面的信息
 * @author: 汪江
 * @create: 2022-12-07 14:09
 **/
package com.wn.pettyloan.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class RepayRecordVO {
    private Integer contractId;//合同id
    private String productName;//产品名字
    private String repayMethodName;//还款方式
    private BigDecimal productRate;//产品利率
    private Integer repayNum;//还款总期数
    private BigDecimal repayShould;//应总本金
    private BigDecimal repayAlready;//已还本金

    private String cardNo;//身份证号
    private String realName;//真实姓名
    private BigDecimal productInterest2;//经理表产品利率

    private Integer repayReocrdId;//还款记录id
    private Integer repayCurrentPeriod;//当前期数
    private BigDecimal currentPrincipalPayable;//应还本金
    private BigDecimal currentInterestPayable;//应还利息
    private BigDecimal currentTotalMoney;//应总总额
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date overdueTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date currentNowTime;
    private Integer repayRecordStatus;//该期订单状态 1，按时还款 2.待还款 3.逾期
}
